<template>
<component :is="currentLayout"></component>
</template>

<script>
import LayoutNone from '/@/layout/LayoutNone.vue'
import LayoutBase from '/@/layout/LayoutBase.vue'

export default {
  name: 'App',
  components: {
    LayoutNone,
    LayoutBase,
  },
  computed: {
    // 使用何种布局方式
    currentLayout () {
      return this.$route.meta.layout || 'LayoutBase';
    }
  }
}
</script>
